package com.ljm.sys.auth.mapper;

import com.ljm.sys.auth.dto.SysAuthRoleDto;
import com.ljm.sys.auth.entity.SysAuthRole;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.List;

/**
 * <p>
 * 系统角色 Mapper 接口
 * </p>
 *
 * @author HuamingChen
 * @since 2020-06-11
 */
public interface SysAuthRoleMapper extends BaseMapper<SysAuthRole> {
    /**
     * 获取角色code
     * @param orgId 机构id
     * @return 角色code
     */
    List<SysAuthRole> getOrgApp(String orgId);
}
